package com.hns.can.common.vo;

import com.hns.can.base.entity.SysRoleEntity;
import com.hns.tool.pub.SearchConditionVo;

import java.util.ArrayList;

/**
 * 报表共用传参vo
 *
 * @version Revision 2.0.0
 * @author:zhangyu
 * @email:zhangyu2222z@sina.cn
 */
@SuppressWarnings("serial")
public class CommonParamsVo extends SearchConditionVo {
    /**
     * 用户拥有角色
     */
    private ArrayList<SysRoleEntity> roleList;

    /**
     * 多个司机id
     */
    private String[] driverIds;
    /**
     * 多个车辆id
     */
    private String[] carIds;
    /**
     * 多个线路id
     */
    private String[] lineIds;

    private String[] organIds;
    /**
     * 司机id
     */
    private String drvId;
    /**
     * 车辆id
     */
    private String carId;
    /**
     * 线路id
     */
    private String lineId;
    /**
     * 机构id
     */
    private String organId;
    /**
     * 页面图表
     */
    private String svg;
    /**
     * 显示行数
     */
    private String showNum;
    /**
     * 类型
     */
    private String type;
    /**
     * 车辆类型
     */
    private String carType;
    /**
     * 鼓掌类型代码
     */
    private String mftTypeCode;
    /**
     * 汇总时间类型
     */
    private String sumTimeType;
    /**
     * 故障区分代码
     */
    private String mftClCode;
    /**
     * ECU类型
     */
    private String ecuMftName;
    /**
     * ECU代码
     */
    private String ecuMftCode;
    /**
     * 考核用时间类型
     */
    private String reportType;
    /**
     * 考核用变换后的时间
     */
    private String reportDate;
    /**
     * 当前分页 手机
     */
    private Integer currPage;
    /**
     * 每页数据量 手机
     */
    private Integer pageSize;
    /**
     * 表名中文
     */
    private String tabNameCH;
    /**
     * 表名英文
     */
    private String tabNameEN;
    /**
     * 数据规则
     */
    private String dataRules;
    /**
     * 时间类型
     */
    private String timeType;
    /**
     * 时间类型
     */
    private String offlineHours;
    /**
     * 记录时间
     */
    private String rcrdTime;
    /**
     * 表名称
     */
    private String[] tabNames;
    /**
     * 公司id
     */
    private String[] corpIds;
    /**
     * 公司序号
     */
    private String[] corpSn;
    /**
     * 选择设备在线状态
     */
    private String selOnlineSt;
    /**
     * 选择设备id
     */
    private String seldevId;
    /**
     * 机构类型
     */
    private String organType;

    /**
     * 日期类型
     */
    private String dateType;

    private String energyType;

    private String offlineCount;
    private String offlineTime;
    private String offlineRate;

    private String licPltNo;
    private String rcrdDate;
    private String date;

    private String mftDiscCode;
    private String tmpCorpId;
    private String fuelType;

    //用于区分电机、电池功能所涉及的表
    private String funcId;
    //用于排序的字段
    private String index;
    //用于排序的顺序
    private String sortorder;

    public String[] getCarIds() {
        return carIds;
    }

    public void setCarIds(String[] carIds) {
        if (carIds.length > 0) {
            this.carIds = carIds;
        }
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getSortorder() {
        return sortorder;
    }

    public void setSortorder(String sortorder) {
        this.sortorder = sortorder;
    }

    public String getShowNum() {
        return showNum;
    }

    public void setShowNum(String showNum) {
        this.showNum = showNum;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String[] getDriverIds() {
        return driverIds;
    }

    public void setDriverIds(String[] driverIds) {
        if (driverIds.length > 0) {
            this.driverIds = driverIds;
        }
    }

    public String[] getLineIds() {
        return lineIds;
    }

    public void setLineIds(String[] lineIds) {
        if (lineIds.length > 0) {
            this.lineIds = lineIds;
        }
    }

    public String getDrvId() {
        return drvId;
    }

    public void setDrvId(String drvId) {
        this.drvId = drvId;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getMftTypeCode() {
        return mftTypeCode;
    }

    public void setMftTypeCode(String mftTypeCode) {
        this.mftTypeCode = mftTypeCode;
    }

    public String getSvg() {
        return svg;
    }

    public void setSvg(String svg) {
        this.svg = svg;
    }

    public String getSumTimeType() {
        return sumTimeType;
    }

    public void setSumTimeType(String sumTimeType) {
        this.sumTimeType = sumTimeType;
    }

    public String getLineId() {
        return lineId;
    }

    public void setLineId(String lineId) {
        this.lineId = lineId;
    }

    public String getMftClCode() {
        return mftClCode;
    }

    public void setMftClCode(String mftClCode) {
        this.mftClCode = mftClCode;
    }

    public Integer getCurrPage() {
        return currPage;
    }

    public void setCurrPage(Integer currPage) {
        this.currPage = currPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getOrganId() {
        return organId;
    }

    public void setOrganId(String organId) {
        this.organId = organId;
    }

    public String getReportType() {
        return reportType;
    }

    public void setReportType(String reportType) {
        this.reportType = reportType;
    }

    public String getReportDate() {
        return reportDate;
    }

    public void setReportDate(String reportDate) {
        this.reportDate = reportDate;
    }

    public String getTabNameCH() {
        return tabNameCH;
    }

    public void setTabNameCH(String tabNameCH) {
        this.tabNameCH = tabNameCH;
    }

    public String getTabNameEN() {
        return tabNameEN;
    }

    public void setTabNameEN(String tabNameEN) {
        this.tabNameEN = tabNameEN;
    }

    public String[] getTabNames() {
        return tabNames;
    }

    public void setTabNames(String[] tabNames) {
        this.tabNames = tabNames;
    }

    public String[] getCorpIds() {
        return corpIds;
    }

    public void setCorpIds(String[] corpIds) {
        this.corpIds = corpIds;
    }

    public String getDataRules() {
        return dataRules;
    }

    public void setDataRules(String dataRules) {
        this.dataRules = dataRules;
    }

    public String[] getCorpSn() {
        return corpSn;
    }

    public void setCorpSn(String[] corpSn) {
        this.corpSn = corpSn;
    }

    public String getEcuMftName() {
        return ecuMftName;
    }

    public void setEcuMftName(String ecuMftName) {
        this.ecuMftName = ecuMftName;
    }

    public String getEcuMftCode() {
        return ecuMftCode;
    }

    public void setEcuMftCode(String ecuMftCode) {
        this.ecuMftCode = ecuMftCode;
    }

    public String getTimeType() {
        return timeType;
    }

    public void setTimeType(String timeType) {
        this.timeType = timeType;
    }

    public String getOfflineHours() {
        return offlineHours;
    }

    public void setOfflineHours(String offlineHours) {
        this.offlineHours = offlineHours;
    }

    public String getSelOnlineSt() {
        return selOnlineSt;
    }

    public void setSelOnlineSt(String selOnlineSt) {
        this.selOnlineSt = selOnlineSt;
    }

    public String getSeldevId() {
        return seldevId;
    }

    public void setSeldevId(String seldevId) {
        this.seldevId = seldevId;
    }

    public String getOrganType() {
        return organType;
    }

    public void setOrganType(String organType) {
        this.organType = organType;
    }

    public String getRcrdTime() {
        return rcrdTime;
    }

    public void setRcrdTime(String rcrdTime) {
        this.rcrdTime = rcrdTime;
    }

    public String getDateType() {
        return dateType;
    }

    public void setDateType(String dateType) {
        this.dateType = dateType;
    }

    public String getEnergyType() {
        return energyType;
    }

    public void setEnergyType(String energyType) {
        this.energyType = energyType;
    }

    public String[] getOrganIds() {
        return organIds;
    }

    public void setOrganIds(String[] organIds) {
        this.organIds = organIds;
    }

    public String getOfflineCount() {
        return offlineCount;
    }

    public void setOfflineCount(String offlineCount) {
        this.offlineCount = offlineCount;
    }

    public String getOfflineTime() {
        return offlineTime;
    }

    public void setOfflineTime(String offlineTime) {
        this.offlineTime = offlineTime;
    }

    public String getOfflineRate() {
        return offlineRate;
    }

    public void setOfflineRate(String offlineRate) {
        this.offlineRate = offlineRate;
    }

    public String getLicPltNo() {
        return licPltNo;
    }

    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }

    public String getRcrdDate() {
        return rcrdDate;
    }

    public void setRcrdDate(String rcrdDate) {
        this.rcrdDate = rcrdDate;
    }

    public String getMftDiscCode() {
        return mftDiscCode;
    }

    public void setMftDiscCode(String mftDiscCode) {
        this.mftDiscCode = mftDiscCode;
    }

    public String getTmpCorpId() {
        return tmpCorpId;
    }

    public void setTmpCorpId(String tmpCorpId) {
        this.tmpCorpId = tmpCorpId;
    }

    public String getFuelType() {
        return fuelType;
    }

    public void setFuelType(String fuelType) {
        this.fuelType = fuelType;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public ArrayList<SysRoleEntity> getRoleList() {
        return roleList;
    }

    public void setRoleList(ArrayList<SysRoleEntity> roleList) {
        this.roleList = roleList;
    }

    public String getFuncId() {
        return funcId;
    }

    public void setFuncId(String funcId) {
        this.funcId = funcId;
    }
}
